package com.whfc.fuum.dao;

import com.whfc.fuum.entity.AppInviteCode;

public interface AppInviteCodeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AppInviteCode record);

    int insertSelective(AppInviteCode record);

    AppInviteCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AppInviteCode record);

    int updateByPrimaryKey(AppInviteCode record);

    /**
     * 根据deptId获取deptId
     * @param code
     * @return
     */
    AppInviteCode selectByCode(String code);
}